
package com.zdkj.subway.support.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.subway.support.dto.in.SwParamTicketPriceDTO;
import com.zdkj.subway.support.dto.out.TicketPriceDetailDTO;
import com.zdkj.subway.support.entity.SwParamTicketPrice;
import com.zdkj.subway.support.mapper.SwParamTicketPriceMapper;
import com.zdkj.subway.support.service.SwParamTicketPriceService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 票价设置表
 *
 * @author cui_com
 * @date 2020-01-08 17:20:38
 */
@Service
@AllArgsConstructor
public class SwParamTicketPriceServiceImpl extends ServiceImpl<SwParamTicketPriceMapper, SwParamTicketPrice> implements SwParamTicketPriceService {

    private SwParamTicketPriceMapper swParamTicketPriceMapper;

    @Override
    public IPage<TicketPriceDetailDTO> queryDetailByPage(
            IPage page,
            Wrapper queryWrapper) {
        return swParamTicketPriceMapper.queryDetailByPage(page, queryWrapper);
    }
}
